﻿@model System.Security.Principal.IPrincipal
@if (Model.Identity.IsAuthenticated)
{
    <span>欢迎：@Model.Identity.Name</span>
    @Html.ActionLink("注销", "LogOff", "Account")
}
else
{
    @Html.ActionLink("登陆","LogOn","Account")
}
